<?php

namespace App\Admin\Controllers;

use App\Http\Controllers\Controller;
use Encore\Admin\Http\Controllers\Dashboard;
use Encore\Admin\Layout\Column;
use Encore\Admin\Layout\Content;
use Encore\Admin\Layout\Row;
use Illuminate\Support\Facades\View;

class HomeController extends Controller
{
    public function index(Content $content)
    {
        
        return $content
            ->header('Dashboard') // 您可以自定义页面标题
            ->description('Dashboard') // 您可以自定义页面描述
            ->body(view('admin.dashboard'));  
    }
}
